From e8558404e6c9a03e7a197bea004592bae2f4ce31 Mon Sep 17 00:00:00 2001 From: sanctum32 Date: Mon, 18 Nov 2013 01:56:37 +0200 Subject: [PATCH] [12730] Updated SpellTemplatedstfmt format, should fix possible crashes, thanks @salja2012 for pointing --- src/game/SQLStorages.cpp | 3 +-- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/game/SQLStorages.cpp b/src/game/SQLStorages.cpp index 23e0461da..bd9f3837c 100644 --- a/src/game/SQLStorages.cpp +++ b/src/game/SQLStorages.cpp @@ -37,8 +37,7 @@ const char WorldTemplatedstfmt[] = "ii"; const char ConditionsSrcFmt[] = "iiii"; const char ConditionsDstFmt[] = "iiii"; const char SpellTemplatesrcfmt[] = "iiiiiiiiiiiiiiiix"; -// 0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 185 -const char SpellTemplatedstfmt[] = "ixxxiiiixxxxxxxxxxxxxxxxxxxxxxxxiixxxxixxxxxxFxxxxxxxxxxxxxxxxxxxxxxixxxxxFFFxxxxxxixxixxixxixxxxxFFFxxxxxxixxixxixxFFFxxxxxxxxxxxxxppppppppppppppppppppppppppppppppxxxxxxxxxxxFFFxxxxxx"; +const char SpellTemplatedstfmt[] = "niiiiiiiiiiiiiiifiiiissxxiixxixiiiiiiixiiiiiiiix"; // Id attr proc DurationIndex Effect0 tarA0 effectAura0 triggerSpell0 SpellName[16] Rank[16] const char VehicleAccessorySrcFmt[] = "iiix"; const char VehicleAccessoryDstFmt[] = "iii"; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index a3dbe4aac..51c5b223e 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "12729" + #define REVISION_NR "12730" #endif // __REVISION_NR_H__