From c94b1f22ab5d1522abfcedef8cf3a62848c370c1 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Tue, 23 Sep 2008 14:38:13 +0000 Subject: added non-hookable tile --- src/game/server/hooks.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/game/server/hooks.cpp') diff --git a/src/game/server/hooks.cpp b/src/game/server/hooks.cpp index bd2b5f4f..3b16c422 100644 --- a/src/game/server/hooks.cpp +++ b/src/game/server/hooks.cpp @@ -359,15 +359,6 @@ void mods_init() vec2 pos(x*32.0f+16.0f, y*32.0f+16.0f); game.controller->on_entity(index-ENTITY_OFFSET, pos); } - else - { - if(index == TILE_DEATH) - tiles[y*tmap->width+x].index = COLFLAG_DEATH; - else if(index == TILE_SOLID) - tiles[y*tmap->width+x].index = COLFLAG_SOLID; - else - tiles[y*tmap->width+x].index = 0; - } } } -- cgit 1.4.1