From aa0544a73122cd4f18bfcb28e8ddebf348686f5d Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Thu, 10 Mar 2011 12:55:26 +0000 Subject: Ensure some variables are initialised --- Player.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Player.cpp') diff --git a/Player.cpp b/Player.cpp index 5995e4f..9ab733e 100644 --- a/Player.cpp +++ b/Player.cpp @@ -5,6 +5,7 @@ Player::Player() { health = 100; sprint = false; crouch = 0; + numWeapons = 0; setWeapon(0); } -- cgit v1.2.3