Mercurial > hg > early-roguelike
comparison arogue7/init.c @ 132:66b0263af424
arogue7: prevent segfaults when backstabbing while empty-handed.
The calculation of the backstabbing multiplier checked the current
weapon's properties without making sure the current weapon pointer was
not NULL.
author | John "Elwin" Edwards |
---|---|
date | Tue, 12 May 2015 18:57:30 -0400 |
parents | b786053d2f37 |
children | f9ef86cf22b2 |
comparison
equal
deleted
inserted
replaced
131:796e2a10cd41 | 132:66b0263af424 |
---|