Robin Eklind
6b7135cec3
objects: add BUGFIX for OperateBook
...
myplr and pnum are used without consistency, thus making a
sanity check for the spell level of the Guardian spell void.
If another connected peer interacts with the Ancient Tome
(then pnum!=myplr), and they have Guardian spell level < 15,
while the local player has Guardian spell level = 15; then
the sanity check is skipped, and the local player gets
Guardian spell level 16
2024-12-01 23:16:30 +01:00
Robin Eklind
c20001a817
objects: add BUGFIX for InitObjects
...
Don't load objects from Blind2.DUN, as Blind2.DUN is missing
an objects layer. This may results in an out-of-bounds read.
2022-10-04 21:31:05 +02:00
Robin
f074a33cc1
objects: add BUGFIX for AddShrine ( #2272 )
2022-03-23 21:51:47 -05:00
Robin Eklind
56fefc89e9
objects: add BUGFIX for holy shrine
...
If the random number generator ends up giving X-Y coordinate pairs
that always are on bad tiles (e.g. solid, with object or with monster)
then after a total of MAXDUNX * MAXDUNY tries, it will still cast
phasing to teleport to the bad tile.
2021-08-26 01:55:17 +02:00
qndel
dfcaf3a032
code fix
2021-08-04 11:50:05 +02:00
qndel
f1b85a5cd3
cleanup
2021-04-20 22:26:55 +02:00
Robin Eklind
2636306f70
objects: add BUGFIX for OperateBookCase
...
The monster array index should refer to Zhar the Mad, not the
first Golem.
2021-04-02 01:29:46 +02:00
Anders Jenbo
adf5f8f504
Clean up hellfire related code
2021-01-31 13:37:42 +01:00
Anders Jenbo
b6a5a413e7
Fix lvl3 door appearing wrong when opened by other players
2021-01-23 03:50:32 +01:00
Anders Jenbo
c7b32ec4e4
Clean ups
2021-01-08 21:23:00 +01:00
Anders Jenbo
2467a982a1
[hellfire] SyncL1Doors
2021-01-04 20:01:38 +01:00
Anders Jenbo
201df84849
Clean up OperateShrine ( #2193 )
2021-01-04 18:59:26 +01:00
Anders Jenbo
67923c4c60
[hellfire] SyncObjectAnim
2021-01-04 02:08:31 +01:00
Anders Jenbo
e2a98b75fe
Clean up some magic values
2021-01-02 22:34:32 +01:00
Anders Jenbo
aa154e5231
Clean up LoadMapObjects
2021-01-01 21:09:25 +01:00
Anders Jenbo
74849d48bd
[hellfire] PlayerMHit
2020-12-30 20:41:32 +01:00
qndel
c4c2e0420c
spell defines and macros ( #2162 )
2020-12-04 19:18:22 +01:00
qndel
7f7ae623df
Goe ( #2163 )
...
* proper random_ comparisons
* proper mienemy comparisons
* add mienemy/micaster enum
* GOE enum
2020-12-04 19:16:58 +01:00
Anders Jenbo
38dbcf7641
Format source
2020-12-02 00:52:38 +01:00
qndel
a2dc735f6b
some cleanup
2020-11-23 17:04:50 +01:00
qndel
73dce4fa39
minor cleanup
2020-11-12 15:13:01 +01:00
qndel
471d9261a5
3 obj functions
2020-11-12 15:13:01 +01:00
qndel
3ce3dedd4d
Cleanup ( #2147 )
2020-11-07 12:34:07 +01:00
Anders Jenbo
377e9a3383
Reorder objects.cpp
2020-11-04 20:14:58 +01:00
qndel
c94c04d049
some cleanup ( #2146 )
2020-11-04 03:33:40 +01:00
qndel
c3380d3104
some cleanups
2020-11-03 00:04:07 +01:00
Gleb Mazovetskiy
ec329e645c
Fix all "no-write-strings" warnings
2020-10-25 15:37:51 +01:00
qndel
36dba1cc1c
cleanup ( #2127 )
2020-10-22 17:26:24 +02:00
Anders Jenbo
5e535c43bb
Update Source/objects.cpp
2020-10-16 23:50:21 +02:00
Chance4us
2477d956e9
[hellfire] correct the name for barrels
2020-10-16 22:51:32 +02:00
Anders Jenbo
1a57d98484
Clean up InitObjectGFX
2020-10-15 03:19:18 +02:00
Anders Jenbo
e48e10a44c
Add Hellfire barral sounds
2020-10-14 10:58:40 +02:00
Anders Jenbo
749cda49f1
Implement loading of hellfire object files
2020-10-14 09:31:05 +02:00
Anders Jenbo
e773e76fdc
Apply enums
2020-10-14 08:52:04 +02:00
Anders Jenbo
3157885502
Correct shareware ifdefs
2020-10-13 07:42:35 +02:00
Anders Jenbo
9e4458edc2
Add data for hellfire shrines
2020-10-13 00:37:59 +02:00
qndel
a62ea81495
more cleanup
2020-10-12 14:59:29 +02:00
qndel
132723e851
door fix
2020-10-12 14:55:25 +02:00
Anders Jenbo
e837130a98
Add missing book names ( #2113 )
2020-10-12 09:13:26 +02:00
qndel
1d84a096d1
fix compiling
2020-10-12 01:07:26 +02:00
qndel
b81d2eb831
some cleanups ( #2099 )
2020-10-12 00:42:02 +02:00
qndel
baa2eacb0c
OperateFountain cleanup ( #2096 )
2020-10-12 00:24:36 +02:00
qndel
95e084dbd3
apply enums ( #2088 )
2020-10-12 00:23:59 +02:00
qndel
92c6d23fad
apply DIABOOLS ( #2097 )
2020-10-12 00:22:13 +02:00
qndel
613fe07b48
BreakBarrel cleanup
2020-10-12 00:11:48 +02:00
qndel
cf15c6e9d2
FindValidShrine cleanup + enums
2020-10-12 00:11:05 +02:00
Anders Jenbo
7e04c63977
Merge branch 'hellfire' of github.com:diasurgical/devilution
2020-10-11 23:53:07 +02:00
pionere
b948f0212c
MAXBELTITEMS + PMSG_COUNT
2020-10-11 06:41:17 +02:00
pionere
f0a51ccf65
use defs instead of literals
2020-10-11 06:37:14 +02:00
Anders Jenbo
e226b918a0
Clean up enum usage
2020-09-19 14:22:34 +02:00