about summary refs log tree commit diff
path: root/src/game/server/entities/character.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-08-27 20:04:07 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-08-27 20:04:07 +0000
commit72ec4f1a9da63ae6364cf72cd10cd5a0966e3f1f (patch)
treeb7df6647844c9d763e4a24ba3fda7b287f139d30 /src/game/server/entities/character.cpp
parentae364d4d295f93b42ccdbd5f9e91bd26227cf9f1 (diff)
downloadzcatch-72ec4f1a9da63ae6364cf72cd10cd5a0966e3f1f.tar.gz
zcatch-72ec4f1a9da63ae6364cf72cd10cd5a0966e3f1f.zip
fixed weapon switching
Diffstat (limited to 'src/game/server/entities/character.cpp')
-rw-r--r--src/game/server/entities/character.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/server/entities/character.cpp b/src/game/server/entities/character.cpp
index f9e53e61..cc3bf445 100644
--- a/src/game/server/entities/character.cpp
+++ b/src/game/server/entities/character.cpp
@@ -62,6 +62,9 @@ bool CHARACTER::spawn(PLAYER *player, vec2 pos, int team)
 	
 	game.world.insert_entity(this);
 	alive = true;
+
+	game.controller->on_character_spawn(this);
+
 	return true;
 }