The Dink Network

Reply to Re: Switching status bars in-game

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
September 20th 2023, 10:17 PM
dinkdead.gif
Saving with Irfanview didn't help. Oh well, it only affects 1.08, for this project working with just HD and FreeDink is fine I guess.

In other news... I've had trouble getting arm_magic() to work in a certain script for ages. This evening I've spent over an hour trying different things to get this stupid section to work:

if(condition)
{
  &temp = get_magic("magicscript");
}
if(othercondition)
{
  &temp = get_magic("othermagicscript");
}
&cur_magic = &temp;
arm_magic();
draw_status();


And it doesn't arm!

Literally seconds before giving up and posting on here for help, I realised...

Turns out this line would have been useful:
int &temp;

/facepalm