From f7dadaae29ed6d424dd6607175861bb1756f76d1 Mon Sep 17 00:00:00 2001 From: Allanis Date: Mon, 4 Feb 2013 00:52:16 +0000 Subject: [PATCH] [Fix] Fucking bug has been there since forever!!!! --- src/ship.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ship.c b/src/ship.c index a036b0f..60f7c05 100644 --- a/src/ship.c +++ b/src/ship.c @@ -31,7 +31,7 @@ Ship* get_ship(const char* name) { if(i == ships) // Ship doesn't exist, game will probably crash now. WARN("Ship %s does not exist", name); - return tmp+1; + return tmp+i; } Ship* ship_parse(xmlNodePtr parent) {