View Single Post
  #1  
Old 04-26-2010, 04:50 PM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default COMMITTED: Mana bug Fix

This will fix mana being displayed on the client above the max value of an sint16 (32767). Why would you need that much mana? I don't know, but here's a fix.

Code:
Index: mob.h
===================================================================
--- mob.h	(revision 1423)
+++ mob.h	(working copy)
@@ -154,7 +154,7 @@
 	sint32	MaxHP;
 	sint32	ManaRegen;
 	sint32	EnduranceRegen;
-	sint16	Mana;
+	sint32	Mana;
 	sint32	Endurance;
 	sint16	ATK;
 	//would it be worth it to create a Stat_Struct?

Reply With Quote