The Dink Network

Hellfire error?

Pilgrim's Quest

November 2nd, 02:27 PM
anon.gif
xenic
Ghost
 
When I first obtained Hellfire in 'Pilgrims Quest' it seemed much weaker than in the original 'Dink Smallwood' game and other Dink DMODs. When I examined the Hellfire source (item-sfb.c) it appears the the author's intent was to have Hellfire strength be 20 plus the player's Magic level. However, there appears to be a typing error that prevents the 20 from being added to the Hellfire strength. Here is the section of code containing the error:

int &yyo;
&yyo = &magic;
&yy0 += 20;
sp_strength(&junk, &yyo);

As you can see the variable yyo is declared with a lower case 'o' character but the line that adds the 20 to strength has an upper case 'O' character which I think means that the 20 never gets added to the strength. It seems strange that this has gone unnoticed for almost 20 years so feel free to correct me if I'm wrong about this error.
November 2nd, 02:53 PM
goblins.gif
drone1400
Peasant Male Romania
C# nerd 
That does seem like an error, but it's been so long since I played Pilgrim's quest that I can't remember how it felt like.
November 2nd, 09:37 PM
duck.gif
Toof
Peasant Male
I disagree. 
No it isn't. Thou shall not question the perfection of ancient dmoders