Changeset 39 for trunk/src/game/GameEvent.cpp
- Timestamp:
- 11/19/08 13:26:44 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/GameEvent.cpp
r2 r39 25 25 #include "MapManager.h" 26 26 #include "Policies/SingletonImp.h" 27 #include "IRCClient.h" 27 28 28 29 INSTANTIATE_SINGLETON_1(GameEvent); … … 422 423 423 424 sLog.outString("GameEvent %u \"%s\" started.", event_id, mGameEvent[event_id].description.c_str()); 425 426 if((sIRC.BOTMASK & 256) != 0) 427 { 428 std::string ircchan = "#"; 429 ircchan += sIRC._irc_chan[sIRC.anchn].c_str(); 430 sIRC.Send_IRC_Channel(ircchan, sIRC.MakeMsg("\00304,08\037/!\\\037\017\00304 Game Event \00304,08\037/!\\\037\017 %s", "%s", mGameEvent[event_id].description.c_str()), true); 431 } 432 424 433 // spawn positive event tagget objects 425 434 GameEventSpawn(event_id);